<extend name="Public:base"/>	

<block name="left">
	<ul>
		<li>用户信息</li>
		<li>权限管理</li>
	</ul>
</block>

<block name="right">
<div class="ziliao">
<form action="{:U('Users/edite',array('id'=>$user_info['id']))}" method="post">
	<div>
		<label for="">用户名:</label>
		<input name="name" type="text" id="" placeholder=""
		
		value="{$user_info.username}" > <!-- 用控制器里的$user_info获取数据库字段-->
	</div>

	<div>
		<label for="">密码:</label>
		<input name="pwd" type="text" id="" placeholder="" value="">
	</div>

	<div>
		<label for="">电话:</label>
		<input name="" type="text" id="" placeholder="">
	</div>

	<div>
		<label for="">邮编:</label>
		<input name="" type="text" id="" placeholder="">
	</div>

	<div>
		<label for="">地址:</label>
		<input name="" type="text" id="" placeholder="">
	</div>

		<div>
		<label for="">身份证号:</label>
		<input name="" type="text" id="" placeholder="" value="{$user_info.idcard}">
	</div>

	<div>
		<label for="">账户余额:</label>
		<input name="cmoney" type="text" id="" placeholder="" value="{$user_info.cmoney}">
	</div>

	<div>
		<label for="">vip:</label>
		<input name="vip" type="text" id="" value="{$user_info.vip}" placeholder="">
	</div>
	<div>
		<label for="">身份证正面:</label>
		<if condition="$user_info.idcard_front neq ''">
			<img src="__ROOT__/Upload/img/{$user_info.idcard_front}">
		</if>
	</div>
	<div>
		<label for="">身份证背面:</label>
		<if condition="$user_info.idcard_back neq ''">
			<img src="__ROOT__/Upload/img/{$user_info.idcard_back}">
		</if>
	</div>
	<div>
		<label>审核状态</label>
		<input type="radio" name="verify_status" value="2" <if condition="$user_info.verify_status eq 2">checked</if> >通过
		<input type="radio" name="verify_status" value="0"  <if condition="$user_info.verify_status eq 0">checked</if>>不通过
	</div>
	<input type="hidden" name="userid" value="{$user_info.userid}">
	<button type="submit" class="btn btn-default">修改</button>


	

</div>	
</form>


</block>